﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000B9 RID: 185
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ArchiveWolfBroGameCsReq : IMessage<ArchiveWolfBroGameCsReq>, IMessage, IEquatable<ArchiveWolfBroGameCsReq>, IDeepCloneable<ArchiveWolfBroGameCsReq>, IBufferMessage
	{
		// Token: 0x1700025A RID: 602
		// (get) Token: 0x0600084A RID: 2122 RVA: 0x00017E65 File Offset: 0x00016065
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ArchiveWolfBroGameCsReq> Parser
		{
			get
			{
				return ArchiveWolfBroGameCsReq._parser;
			}
		}

		// Token: 0x1700025B RID: 603
		// (get) Token: 0x0600084B RID: 2123 RVA: 0x00017E6C File Offset: 0x0001606C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ArchiveWolfBroGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700025C RID: 604
		// (get) Token: 0x0600084C RID: 2124 RVA: 0x00017E7E File Offset: 0x0001607E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ArchiveWolfBroGameCsReq.Descriptor;
			}
		}

		// Token: 0x0600084D RID: 2125 RVA: 0x00017E85 File Offset: 0x00016085
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ArchiveWolfBroGameCsReq()
		{
		}

		// Token: 0x0600084E RID: 2126 RVA: 0x00017E90 File Offset: 0x00016090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ArchiveWolfBroGameCsReq(ArchiveWolfBroGameCsReq other) : this()
		{
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this.id_ = other.id_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600084F RID: 2127 RVA: 0x00017EDC File Offset: 0x000160DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ArchiveWolfBroGameCsReq Clone()
		{
			return new ArchiveWolfBroGameCsReq(this);
		}

		// Token: 0x1700025D RID: 605
		// (get) Token: 0x06000850 RID: 2128 RVA: 0x00017EE4 File Offset: 0x000160E4
		// (set) Token: 0x06000851 RID: 2129 RVA: 0x00017EEC File Offset: 0x000160EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x1700025E RID: 606
		// (get) Token: 0x06000852 RID: 2130 RVA: 0x00017EF5 File Offset: 0x000160F5
		// (set) Token: 0x06000853 RID: 2131 RVA: 0x00017EFD File Offset: 0x000160FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x06000854 RID: 2132 RVA: 0x00017F06 File Offset: 0x00016106
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ArchiveWolfBroGameCsReq);
		}

		// Token: 0x06000855 RID: 2133 RVA: 0x00017F14 File Offset: 0x00016114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ArchiveWolfBroGameCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.Motion, other.Motion) && this.Id == other.Id && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000856 RID: 2134 RVA: 0x00017F64 File Offset: 0x00016164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000857 RID: 2135 RVA: 0x00017FB9 File Offset: 0x000161B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000858 RID: 2136 RVA: 0x00017FC1 File Offset: 0x000161C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000859 RID: 2137 RVA: 0x00017FCC File Offset: 0x000161CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.motion_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.Motion);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600085A RID: 2138 RVA: 0x00018028 File Offset: 0x00016228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600085B RID: 2139 RVA: 0x00018080 File Offset: 0x00016280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ArchiveWolfBroGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600085C RID: 2140 RVA: 0x000180E8 File Offset: 0x000162E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600085D RID: 2141 RVA: 0x000180F4 File Offset: 0x000162F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Id = input.ReadUInt32();
					}
				}
				else
				{
					if (this.motion_ == null)
					{
						this.Motion = new MotionInfo();
					}
					input.ReadMessage(this.Motion);
				}
			}
		}

		// Token: 0x04000318 RID: 792
		private static readonly MessageParser<ArchiveWolfBroGameCsReq> _parser = new MessageParser<ArchiveWolfBroGameCsReq>(() => new ArchiveWolfBroGameCsReq());

		// Token: 0x04000319 RID: 793
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400031A RID: 794
		public const int MotionFieldNumber = 4;

		// Token: 0x0400031B RID: 795
		private MotionInfo motion_;

		// Token: 0x0400031C RID: 796
		public const int IdFieldNumber = 11;

		// Token: 0x0400031D RID: 797
		private uint id_;
	}
}
